PATHMac OS 8 and 9 Developer Documentation > Interapplication Communication > AppleScript for Scripters >

AppleScript Language Guide

   

Defining and Calling Subroutines

A subroutine definition contains

You cannot nest subroutine definitions; that is, you cannot define a subroutine within a subroutine definition.

The way you call a subroutine is determined by the way the subroutine was defined:

The following sections describe how to define and call subroutines:


© 1999 Apple Computer, Inc. – (Last Updated 21 May 99)